package com.ktjiaoyu.ktmall.entity;

import java.util.List;

public class Category {
    private String id;
    private String name;
    private String parentid;
    private String icon;
    private Integer sort;
    private Integer status;
    private Integer isDelete;

    public Category(String id, String name, String parentid, String icon, Integer sort, Integer status, Integer isDelete, List<Category> children) {
        this.id = id;
        this.name = name;
        this.parentid = parentid;
        this.icon = icon;
        this.sort = sort;
        this.status = status;
        this.isDelete = isDelete;
        this.children = children;
    }

    public Category() {

    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }



    public List<Category> getChildren() {
        return children;
    }

    public void setChildren(List<Category> children) {
        this.children = children;
    }

    private List<Category> children;
}

